package com.hu.zhcc.shiro.service.xsx;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hu.zhcc.shiro.dao.xsx.TOrderMapper;
import com.hu.zhcc.shiro.entity.xsx.XsxTOrder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 预约表 服务实现类
 * </p>
 *
 * @author xsx
 * @since 2021-06-11
 */
@Service
public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, XsxTOrder> implements TOrderService {
    @Autowired
    TOrderMapper tOrderMapper;

    @Override
    public List<XsxTOrder> queryOrderAndMember(int id) {
        return tOrderMapper.queryOrderAndMember(id);
    }

    @Override
    public int qryy(int id) {
        return tOrderMapper.qryy(id);
    }

    @Override
    public int qxyy(int id) {
        return tOrderMapper.qxyy(id);
    }

    @Override
    public int yytc(XsxTOrder tOrder) {
        return tOrderMapper.yytc(tOrder);
    }

    @Override
    public int yuyuetc(XsxTOrder tOrder) {
        return tOrderMapper.yuyuetc(tOrder);
    }

    @Override
    public List<XsxTOrder> queryOrderByHyid(int id) {
        return tOrderMapper.queryOrderByHyid(id);
    }

}
